package com.example.b_308.myapplication.comment.utils;

import android.content.Context;
import android.graphics.drawable.Drawable;

/**
 * Created by B-308 on 2017/11/17.
 */
public class ResouceUtils {
    public static String getString(Context context, int resourse){
        return context.getResources().getString(resourse);
    }

    public static int getColor(Context context,int resourse){
        return context.getResources().getColor(resourse);
    }

    public static Drawable getDrawable(Context context, int resourse){
        return context.getResources().getDrawable(resourse);
    }
}
